package com.jinwei.qunguanjia.common.utils;

public class PageCountUtils {
	public static long getPageCount(long totalCount, long pageSize){
		if(totalCount != 0 && pageSize != 0){
			return totalCount % pageSize == 0 ? totalCount / pageSize : totalCount / pageSize + 1;
		}else{
			return 0;
		}
	}

}
